package com.zwh.mangomall.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

public class MangoUser {

  @TableId(type = IdType.AUTO)
  private Long mangoId;
  private String username;
  private String password;
  private String salt;
  private String realname;
  private String phone;
  private Integer gender;
  private String idCard;
  private Date birthday;
  private String email;
  private String avatar;
  private Integer userStatus;
  private String createdUser;
  private Date createdTime;
  private String modifiedUser;
  private Date modifiedTime;

  public MangoUser() {
  }

  public MangoUser(Long mangoId, String username, String password, String salt, String realname, String phone, Integer gender, String idCard, Date birthday, String email, String avatar, Integer userStatus, String createdUser, Date createdTime, String modifiedUser, Date modifiedTime) {
    this.mangoId = mangoId;
    this.username = username;
    this.password = password;
    this.salt = salt;
    this.realname = realname;
    this.phone = phone;
    this.gender = gender;
    this.idCard = idCard;
    this.birthday = birthday;
    this.email = email;
    this.avatar = avatar;
    this.userStatus = userStatus;
    this.createdUser = createdUser;
    this.createdTime = createdTime;
    this.modifiedUser = modifiedUser;
    this.modifiedTime = modifiedTime;
  }

  public Long getMangoId() {
    return mangoId;
  }

  public void setMangoId(Long mangoId) {
    this.mangoId = mangoId;
  }


  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getSalt() {
    return salt;
  }

  public void setSalt(String salt) {
    this.salt = salt;
  }


  public String getRealname() {
    return realname;
  }

  public void setRealname(String realname) {
    this.realname = realname;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public Integer getGender() {
    return gender;
  }

  public void setGender(Integer gender) {
    this.gender = gender;
  }


  public String getIdCard() {
    return idCard;
  }

  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }


  public Date getBirthday() {
    return birthday;
  }

  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }


  public String getAvatar() {
    return avatar;
  }

  public void setAvatar(String avatar) {
    this.avatar = avatar;
  }


  public Integer getUserStatus() {
    return userStatus;
  }

  public void setUserStatus(Integer userStatus) {
    this.userStatus = userStatus;
  }


  public String getCreatedUser() {
    return createdUser;
  }

  public void setCreatedUser(String createdUser) {
    this.createdUser = createdUser;
  }


  public Date getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(Date createdTime) {
    this.createdTime = createdTime;
  }


  public String getModifiedUser() {
    return modifiedUser;
  }

  public void setModifiedUser(String modifiedUser) {
    this.modifiedUser = modifiedUser;
  }


  public Date getModifiedTime() {
    return modifiedTime;
  }

  public void setModifiedTime(Date modifiedTime) {
    this.modifiedTime = modifiedTime;
  }

  @Override
  public String toString() {
    return "MangoUser{" +
            ", mangoId=" + mangoId +
            ", username='" + username + '\'' +
            ", password='" + password + '\'' +
            ", salt='" + salt + '\'' +
            ", realname='" + realname + '\'' +
            ", phone='" + phone + '\'' +
            ", gender=" + gender +
            ", idCard='" + idCard + '\'' +
            ", birthday=" + birthday +
            ", email='" + email + '\'' +
            ", avatar='" + avatar + '\'' +
            ", userStatus=" + userStatus +
            ", createdUser='" + createdUser + '\'' +
            ", createdTime=" + createdTime +
            ", modifiedUser='" + modifiedUser + '\'' +
            ", modifiedTime=" + modifiedTime +
            '}';
  }
}
